package department;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

public interface DepartmentHome extends EJBLocalHome 
{
	Department create(String name) throws CreateException;
	Department findByPrimaryKey(int departmentID) throws FinderException;
	Department findByName(String departmentName) throws FinderException;
    Collection<Department> findAllDepartments() throws FinderException;
}
